package com.thx.workflow.custom.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thx.common.service.BaseManager;
import com.thx.workflow.custom.dao.OfficialDocDao;
import com.thx.workflow.custom.model.OfficialDoc;


@Service
@Transactional(readOnly = true)
public class OfficialDocService extends BaseManager<OfficialDoc>{

	@Autowired
	private OfficialDocDao govOfficialDocDao;
	
	public List<OfficialDoc> findByWorkId(String workId) {
		return govOfficialDocDao.findByWorkId(workId);
	}
}
